Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | var assert = require('chai').assert, |
||
15 | it('Build', function(){ |
||
16 | var rr = GedcomX.ResourceReference() |
||
17 | .setResource('http://example.com') |
||
18 | .setResourceId('rid'); |
||
19 | assert.equal(rr.getResource(), 'http://example.com', 'Resource not saved properly when created with JSON'); |
||
20 | assert.equal(rr.getResourceId(), 'rid'); |
||
21 | }); |
||
22 | |||
31 | }); |